<template>
    <div class="demo">
        <h2 @click="test">学生名字为：{{name}}</h2>
        <br/>
        <h2>学生年龄为：{{age}}</h2>
    </div>
</template>

<script>
// import {hunhe} from '../mixin'
export default {
    name:'Student',
    data() {
        return {
            name:'张三',
            age:18
        }
    },
    // mixins:[hunhe]
}
</script>

<style>
.demo{
    background-color: orange;
}
</style>